Slope of a Line

Introduction

The slope of a line tells us how steep the line is. If you already know how to plot points and graph linear equations, slope is the next natural idea: it measures how much a line goes up or down as you move left or right.

In this article, we explore:

What Is Slope?

Slope measures how a line changes vertically compared to how it changes horizontally.

If you move from one point on a line to another:

Slope Between Two Points

Suppose you have two points:

Then the slope is: $$m = \frac{y_2 - y_1}{x_2 - x_1}$$ Key ideas:

Interpreting Slope

Four different slopes on one graph

Examples:

Slope and Linear Equations

A line in slope-intercept form is: $$y = mx + b$$

Knowing the slope helps you:

Exercises

  1. Compute the slope between the points $(2,5)$ and $(6,9)$.

    Solution

    Slope: $$m = \frac{9 - 5}{6 - 2} = \frac{4}{4} = 1$$
  2. Find the slope of the line passing through $(-3,4)$ and $(1,4)$.

    Solution

    Slope: $$m = \frac{4 - 4}{1 - (-3)} = \frac{0}{4} = 0$$ Horizontal line.
  3. Determine the slope between $(0,0)$ and $(5,-10)$.

    Solution

    Slope: $$m = \frac{-10 - 0}{5 - 0} = \frac{-10}{5} = -2$$
  4. True or false: A line with slope $0$ is horizontal.

    Solution

    Answer: True.
    A slope of $0$ means no vertical change → horizontal line.
  5. Compute the slope between $(4,1)$ and $(4,7)$. What type of line is this?

    Solution

    Slope: $$m = \frac{7 - 1}{4 - 4} = \frac{6}{0}$$ Undefined slope → vertical line.
  6. A line rises $6$ units when it runs $3$ units to the right. What is its slope?

    Solution

    Slope: $$m = \frac{6}{3} = 2$$
  7. Find the slope of the line through $(1,-2)$ and $(4,7)$.

    Solution

    Slope: $$m = \frac{7 - (-2)}{4 - 1} = \frac{9}{3} = 3$$